package com.ruoyi.project.erp.so.domain;

import java.util.Date;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 so
 * 
 * @author ruoyi
 * @date 2020-08-24
 */
public class So extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private String id;

    /** $column.columnComment */
    @Excel(name = "订单日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date ddate;

    /** $column.columnComment */
    @Excel(name = "订单号")
    private String code;

    /** $column.columnComment */
    @Excel(name = "订单类型")
    private String ctype;

    /** $column.columnComment */
    @Excel(name = "订单状态")
    private String st;

    /** $column.columnComment */
    @Excel(name = "物流编号")
    private String logcode;

    /** $column.columnComment */
    //@Excel(name = "制单日期")
    private Date sysdt;

    /** $column.columnComment */
    @Excel(name = "制单人")
    private String emp;

    private String shop;
    @Excel(name = "门店")
    private String shopname;

    private String fromwh;
    @Excel(name = "调出仓库")
    private String fromwhname;

    private String towh;
    @Excel(name = "调入仓库")
    private String towhname;

    /** $column.columnComment */
    @Excel(name = "审核人")
    private String creditemp;

    /** $column.columnComment */
    @Excel(name = "审核时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date creditdt;

    /** $column.columnComment */
    @Excel(name = "发货人")
    private String sendemp;

    /** $column.columnComment */
    @Excel(name = "发货日期",width = 30, dateFormat = "yyyy-MM-dd")
    private Date senddt;

    /** $column.columnComment */
    @Excel(name = "收货人")
    private String recemp;

    /** $column.columnComment */
    @Excel(name = "收货时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date recdt;

    /** $column.columnComment */
    @Excel(name = "备注")
    private String memo;

    /** 表头单号 */
    @Excel(name = "表头单号")
    private String mcode;

    /** 产品代码 */
    @Excel(name = "产品代码")
    private String pcode;

    /** 产品名称 */
    @Excel(name = "产品名称")
    private String pname;

    /** 产品规格 */
    @Excel(name = "产品规格")
    private String pstd;

    /** 单位 */
    @Excel(name = "单位")
    private String punit;

    /** 订单数量 */
    @Excel(name = "订单数量")
    private int qty;

    /** 发货数量 */
    @Excel(name = "发货数量")
    private int sendqty;

    /** 未发货数量 */
    @Excel(name = "未发货数量")
    private int unSendqty;

    /** 备注 */
    @Excel(name = "备注")
    private String smemo;

    //是否厂家代发
    private String isreplace;

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setDdate(Date ddate) 
    {
        this.ddate = ddate;
    }

    public Date getDdate() 
    {
        return ddate;
    }
    public void setCode(String code) 
    {
        this.code = code;
    }

    public String getCode() 
    {
        return code;
    }
    public void setCtype(String ctype) 
    {
        this.ctype = ctype;
    }

    public String getCtype() 
    {
        return ctype;
    }
    public void setSt(String st) 
    {
        this.st = st;
    }

    public String getSt() 
    {
        return st;
    }
    public void setLogcode(String logcode) 
    {
        this.logcode = logcode;
    }

    public String getLogcode() 
    {
        return logcode;
    }
    public void setSysdt(Date sysdt) 
    {
        this.sysdt = sysdt;
    }

    public Date getSysdt() 
    {
        return sysdt;
    }
    public void setEmp(String emp) 
    {
        this.emp = emp;
    }

    public String getEmp() 
    {
        return emp;
    }
    public void setCreditemp(String creditemp) 
    {
        this.creditemp = creditemp;
    }

    public String getCreditemp() 
    {
        return creditemp;
    }
    public void setCreditdt(Date creditdt) 
    {
        this.creditdt = creditdt;
    }

    public Date getCreditdt() 
    {
        return creditdt;
    }
    public void setSendemp(String sendemp) 
    {
        this.sendemp = sendemp;
    }

    public String getSendemp() 
    {
        return sendemp;
    }
    public void setSenddt(Date senddt) 
    {
        this.senddt = senddt;
    }

    public Date getSenddt() 
    {
        return senddt;
    }
    public void setRecemp(String recemp) 
    {
        this.recemp = recemp;
    }

    public String getRecemp() 
    {
        return recemp;
    }
    public void setRecdt(Date recdt) 
    {
        this.recdt = recdt;
    }

    public Date getRecdt() 
    {
        return recdt;
    }
    public void setMemo(String memo) 
    {
        this.memo = memo;
    }

    public String getMemo() 
    {
        return memo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("ddate", getDdate())
            .append("code", getCode())
            .append("ctype", getCtype())
            .append("st", getSt())
            .append("logcode", getLogcode())
            .append("sysdt", getSysdt())
            .append("emp", getEmp())
            .append("creditemp", getCreditemp())
            .append("creditdt", getCreditdt())
            .append("sendemp", getSendemp())
            .append("senddt", getSenddt())
            .append("recemp", getRecemp())
            .append("recdt", getRecdt())
            .append("memo", getMemo())
            .toString();
    }

    public String getShop() {
        return shop;
    }

    public void setShop(String shop) {
        this.shop = shop;
    }

    public String getShopname() {
        return shopname;
    }

    public void setShopname(String shopname) {
        this.shopname = shopname;
    }

    public String getFromwh() {
        return fromwh;
    }

    public void setFromwh(String fromwh) {
        this.fromwh = fromwh;
    }

    public String getFromwhname() {
        return fromwhname;
    }

    public void setFromwhname(String fromwhname) {
        this.fromwhname = fromwhname;
    }

    public String getTowh() {
        return towh;
    }

    public void setTowh(String towh) {
        this.towh = towh;
    }

    public String getTowhname() {
        return towhname;
    }

    public void setTowhname(String towhname) {
        this.towhname = towhname;
    }

    public String getMcode() {
        return mcode;
    }

    public void setMcode(String mcode) {
        this.mcode = mcode;
    }

    public String getPcode() {
        return pcode;
    }

    public void setPcode(String pcode) {
        this.pcode = pcode;
    }

    public String getPname() {
        return pname;
    }

    public void setPname(String pname) {
        this.pname = pname;
    }

    public String getPstd() {
        return pstd;
    }

    public void setPstd(String pstd) {
        this.pstd = pstd;
    }

    public String getPunit() {
        return punit;
    }

    public void setPunit(String punit) {
        this.punit = punit;
    }

    public int getQty() {
        return qty;
    }

    public void setQty(int qty) {
        this.qty = qty;
    }

    public int getSendqty() {
        return sendqty;
    }

    public void setSendqty(int sendqty) {
        this.sendqty = sendqty;
    }

    public String getSmemo() {
        return smemo;
    }

    public void setSmemo(String smemo) {
        this.smemo = smemo;
    }

    public String getIsreplace() {
        return isreplace;
    }

    public void setIsreplace(String isreplace) {
        this.isreplace = isreplace;
    }

    public int getUnSendqty() {
        return unSendqty;
    }

    public void setUnSendqty(int unSendqty) {
        this.unSendqty = unSendqty;
    }
}
